// 温度显示组件
const Temperature = ({ temp }) => (
  <div
    style={{
      display: "flex",
      justifyContent: "space-between",
      fontSize: "14px",
      color: "#eff4ff",
    }}
  >
    <div style={{ background: "#203aff", padding: "5px", width: "40%", textAlign: "center", }}>
      实时温度: {temp}°C
    </div>
    <div style={{ background: "#2084ff", padding: "5px", width: "60%", boxShadow: "0 0 10px rgba(32, 132, 255, 0.7)", textAlign: "center", }} >
      预测温度: -15°C到-5°C
    </div>
  </div>
);
export default Temperature;
